package com.lunago.agent.service;

import com.lunago.agent.pojo.dto.PayResultVO;
import com.lunago.agent.pojo.entity.OrderGemsLevel;
import com.lunago.agent.pojo.entity.PermiumOrder;

import java.util.List;

public interface PaymentService {
    List<OrderGemsLevel> queryAllPremiumLevels();

    OrderGemsLevel queryPremiumLevelsById(Integer id);

    String getPayLoad(String orderId);

    void submitOrder(PermiumOrder order);

    PermiumOrder queryPermiumOrderByOrderId(String orderId);

    void updatePermiumOrderStatus(String orderId, int status);

    void updateUserGems(Long userId, Integer permiumLevelId);

    PayResultVO getOrder(String token);
}
